﻿@model KhuyenMaiVang.DAL.City

@{
    ViewBag.Title = "Thêm thành phố";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}

@section heading{Thêm thành phố}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <h4>Thành phố</h4>
        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <p>
            <input class="button" type="submit" value="Tạo mới" />
        </p>
}

<div>
    @Html.ActionLink("Quay lại", "Index")
</div>
